package com.mall.user.mq;

import org.apache.activemq.command.ActiveMQQueue;
import org.springframework.context.annotation.Bean;

import javax.jms.Queue;

/**
 * 队列初始化
 *
 * @author ASUS
 * @date 2021/07/18
 */
public class QueueInit {

    @Bean
    Queue queueInit(){
        return new ActiveMQQueue("sunyue");
    }

}
